<?php

/**
 * @author shuang
 * @date 2016-11-3 11:30:30
 */
use yii\helpers\Url;
$this->title="个人中心";
?>
<div class="content native-scroll">
    <div class="uname-block">
        <span class="size-12"><?php echo $model->username; ?></span>
    </div>
    <div class="list-block">
        <ul>
            <li>
                <a href="javascript:;" class="item-link item-content">
                    <div class="item-media"><span class="iconfont i-my"></span></div>
                    <div class="item-inner">姓名<span class="pull-right"><?php echo $model->truename;?></span></div>
                </a>
            </li>
            <li>
                <a href="javascript:;" class="item-link item-content">
                    <div class="item-media"><span class="iconfont i-account"></span></div>
                    <div class="item-inner">支付宝<span class="pull-right"><?php echo $model->alipay;?></span></div>
                </a>
            </li>
            <li>
                <a href="javascript:;" class="item-link item-content">
                    <div class="item-media"><span class="iconfont i-service"></span></div>
                    <div class="item-inner">QQ<span class="pull-right"><?php echo $model->qq;?></span></div>
                </a>
            </li>
            <li>
                <a href="<?php echo Url::toRoute(["account/tixian"]); ?>" class="item-link item-content">
                    <div class="item-media"><span class="iconfont i-viewlist"></span></div>
                    <div class="item-inner">提现记录</div>
                </a>
            </li>
            <li>
                <a href="<?php echo Url::toRoute(["profile/invite"]); ?>" class="item-link item-content">
                    <div class="item-media"><span class="iconfont i-viewlist"></span></div>
                    <div class="item-inner">我的推广</div>
                </a>
            </li>
            <li>
                <a href="<?php echo Url::toRoute(["profile/updatepwd"]); ?>" data-no-cache="true" class="item-link item-content">
                    <div class="item-media"><span class="iconfont i-lock"></span></div>
                    <div class="item-inner">修改密码</div>
                </a>
            </li>
        </ul>
    </div>
    <div class="content-padded">
        <p>
            <a href="<?php echo Url::toRoute(["site/logout"]); ?>" data-no-cache="true" class="button button-big button-fill button-danger">退出登录</a>
        </p>
    </div>
</div>